const KEY = 'mm-h5-token'
// 1. 存token
export const setToken = (token) => {
    localStorage.setItem(KEY, token)
}

// 2. 取token
export const getToken = () => {
    return localStorage.getItem(KEY)
}

// 3. 删除token
export const delToken = () => {
    localStorage.removeItem(KEY)
}

// 按需导出  ==> 导入的时候 import {setToken} from 
